package org.monkey.config.server.application;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableConfigServer
@EnableEurekaClient
public class ConfigServerApplication {

  private static final Logger logger = LoggerFactory.getLogger(ConfigServerApplication.class);

  public static void main(String[] args) {

    SpringApplication.run(ConfigServerApplication.class, args);

    logger.info("*******  config server started  ********");
  }
}
